package homework;

public class BaconPizza extends Pizza{
    private int num;

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    @Override
    public void show() {
        super.show();
        System.out.println("培根克数:"+num);
    }
}
